//
//  BaseRequestApi.h
//  Learn
/*-- 项目API --*/
//  Created by cjg on 2018/11/1.
//  Copyright © 2018 cjg. All rights reserved.
//

#ifndef BaseRequestApi_h
#define BaseRequestApi_h

#ifdef DEBUG
//测试环境
//#define BaseUrl @"https://d-xueer.bigchun.com"//服务器地址-- 开发环境
//#define BaseUrl @"https://d-xueer.bigchun.com"//服务器地址--内网测试环境
#define BASE_URL @"https://d-xueer.bigchun.com/api/"//服务器地址--外网测试环境
//#define BaseUrl @"https://d-xueer.bigchun.com"//服务器地址--正式环境
#else
//正式环境
#define BASE_URL @"https://d-xueer.bigchun.com/api/"//服务器地址--正式环境
//#define BaseUrl @"https://d-xueer.bigchun.com"//服务器地址--正式环境

#endif

//API打印日志
#define KMRequestOpenLog 1

#define LOGIN_URL @"user/login"

#define LOGIN_CAPTCHA_URL @"common/captcha"

#define MINE_USERINFO_URL @"user/getuserinfo"

#define MINE_UPLOAD_URL @"common/upload"

#define MINE_FEEDBACK_URL @"index/addFeedback"

#define MINE_PROFILE_URL @"user/profile"

#define MINE_CONNECTUS_URL @"index/connectUs"

#define MINE_RESETPWD_URL @"user/resetpwd"

#define MINE_CHANGEPN_URL @"user/changemobile"

#define MINE_SMSSEND_URL @"sms/send"

#define MINE_About_URL @"index/getTeacherAbout"

#define FIRST_INDEX_URL @"teacher/index"

#define CLASS_INDEX_URL @"grade/index"

#define CLASS_INFO_URL @"grade/getClassInfo"

#define CLASS_STUDENT_URL @"grade/getStudent"

#define CLASS_ADDGROUP_URL @"grade/addGroup"

#define CLASS_RESETPWD_URL @"grade/resetpassword"

#define CLASS_HOMEWORK_URL @"new_homework/homework"

#define CLASS_MACHINE_URL @"new_homework/machine"

#define CLASS_EDITGRADE_URL @"grade/editGrade"

#define CLASS_DELGROUP_URL @"grade/delGroup"

#define HOMEWORK_INDEX_URL @"homework/index"

#define HOMEWORK_GRADE_INDEX_URL @"grade/index"

#endif /* BaseRequestApi_h */
